<template>
  <div class="box">
    <Menu></Menu>
    <div class="right">
      <div class="head"><Header></Header></div>
      <div class="content">
        <Content></Content>
      </div>
    </div>
  </div>
</template>

<script>
import Header from "./components/Header";
import Menu from "./components/Menu";
import Content from "./components/Content";
export default {
  name: "layout",
  components: { Header, Menu, Content }
};
</script>

<style lang="less" scoped>
.box {
  height: 100%;
  display: flex;
  background-image: url("../assets/ys2.jpg");
  .right {
    // border: 1px red solid;
    flex: 1;
    display: flex;
    flex-direction: column;
    .head {
      height: 75px;
      opacity: 0.75;
      border-bottom: 1px solid #e8e8e8;
      box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    }
    .content {
      overflow: auto;
      flex: 1;
      padding: 20px;
    }
  }
}
</style>
